package cn.ac.big.bigd.dao;


import cn.ac.big.bigd.model.generate.NewAssembly;
import cn.ac.big.bigd.model.generate.NewStatistics;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;


@Repository
public interface NewStatisticsDao extends JpaRepository<NewStatistics, Long> {

    @Transactional
    Long deleteByNewAssembly(NewAssembly newAssembly);
}
